//
//  DMWithdrawDepositAddVC.m
//  DistributionMall
//
//  Created by JHnoplan on 2018/10/17.
//  Copyright © 2018年 JHnoplan. All rights reserved.
//

#import "DMWithdrawDepositAddVC.h"

@interface DMWithdrawDepositAddVC ()

@end

@implementation DMWithdrawDepositAddVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self startInit];
}

-(void)startInit {
    self.navigationItem.title = @"添加账号";
    self.view.backgroundColor = DMWhiteColor;
    //确认
    UIButton *pushBtn = [UIButton buttonWithType:UIButtonTypeCustom];
    pushBtn.frame = CGRectMake(0, 0, 35, 40);
    [pushBtn addTarget:self action:@selector(saveClick) forControlEvents:UIControlEventTouchUpInside];
    [pushBtn setTitle:@"确认" forState:UIControlStateNormal];
    [pushBtn setTitleColor:DMWhiteColor forState:UIControlStateNormal];
    pushBtn.titleLabel.font = DMFontSize(14);
    UIBarButtonItem *rightBtnItem = [[UIBarButtonItem alloc] initWithCustomView:pushBtn];
    [self.navigationItem setRightBarButtonItem:rightBtnItem];
}

-(void)saveClick {
    
    [self.navigationController popViewControllerAnimated:YES];
}

@end
